-- GENERATED SPELL FOR [Skullsplitter Axe Thrower] --


function spell0_696(pUnit, Event) --@Head Crack,n/a--
pUnit:FullCastSpellOnTarget(3148,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_696', 20342, 1)
end

function spell1_696(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_696', 500, 1)
end

function Sorts_696(pUnit, Event)
local choix_sorts_696 = math.random(0, 1)
if choix_sorts_696 == 0 then
pUnit:RegisterEvent('spell0_696', 1, 1)
end
if choix_sorts_696 == 1 then
pUnit:RegisterEvent('spell1_696', 1, 1)
end
end

function mob696_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_696', math.random(1500, 3000), 1)
end

function mob696_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob696_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob696_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(696, 1, 'mob696_Action')
RegisterUnitEvent(696, 2, 'mob696_Leave')
RegisterUnitEvent(696, 3, 'mob696_Kill')
RegisterUnitEvent(696, 4, 'mob696_Die')
